package com.example.tictactoe;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import com.example.tictactoe.*;





public class Start extends Activity implements OnClickListener
{
	public void onCreate(Bundle savedInstanceState) {
	      super.onCreate(savedInstanceState);
	      setContentView(R.layout.startlayout);
	      Button new_user=(Button)this.findViewById(R.id.nu);
	      new_user.setOnClickListener((OnClickListener) this);
	      
	      Button ex_user=(Button)this.findViewById(R.id.eu);
	      new_user.setOnClickListener((OnClickListener) this);
	}
	
	public void onClick(View v)
	{
		if (v.getId()==R.id.nu)
		{
			Intent intent= new Intent(this,MainActivity.class);
			startActivity(intent);
			
		}
		if (v.getId()==R.id.eu)
		{
			Intent intent=new Intent(this,MainActivity.class);
			startActivity(intent);
		}
		
	}

	

	
	      
	
}